<%@ page language="java" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>demo04</title>
</head>
<body>
<h1>demo04</h1>
<hr>
包含指令（静态包含）
<%@ include file="inc.jsp" %>
<hr>
包含标准动作（动态包含）
<jsp:include page="inc.jsp"></jsp:include>
<hr>
请求调度器包含
<%pageContext.include("inc.jsp");
out.flush();
RequestDispatcher rd = request.getRequestDispatcher("inc.jsp");//请求调度器
rd.include(request, response);
response.getWriter().flush();
%>
<hr>
包含标准动作（动态包含）含参数
<jsp:include page="inc.jsp">
	<jsp:param value="ab张三" name="name"/>
</jsp:include>
<%pageContext.include("inc.jsp?name=ab张三"); %>
</body>
</html>